package com.example.huitong.fragments;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

public class TestFragment extends Fragment{
	
	public static TestFragment newInstance(String content){
		TestFragment fragment = new TestFragment();
		Bundle b = new Bundle();
		b.putString("title", content);
		fragment.setArguments(b);
		return fragment;
	}
	
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		
		TextView tv = new TextView(getActivity());
//		tv.setText(getArguments().getString("title"));
		tv.setText("");
		return tv;
	}
}
